package com.zhny.aiot.xmn.water.monitor.plugin.model;

import com.zhny.aiot.plugin.ActionValue;
import com.zhny.aiot.plugin.PropertyValue;
import com.zhny.aiot.plugin.model.*;
import lombok.Data;

@Data
public class WaterMonitorStoreEntry extends StoreEntity {
    @PropertyValue(alias = "温度",description = "温度",unit = "℃",icon=IconConstract.Temperature,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private double temperature;
    @PropertyValue(alias = "电导率",description = "电导率",unit = "us/cm",icon=IconConstract.Conductivity,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private double conductivity;
    @PropertyValue(alias = "溶解氧",description = "溶解氧",unit = "mg/L",icon=IconConstract.Other,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private double dissolvedOxygen;
    @PropertyValue(alias = "ph",description = "ph",unit = "",icon=IconConstract.PH,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private double ph;
    @PropertyValue(alias = "浊度",description = "浊度",unit = "",icon=IconConstract.Other,variableType=VariableType.Numerical,actions={
            @ActionValue(name=Operate.Check,commandCode="query",eventType=EventType.Click)
    })
    private double turbidity;
}
